package cn.eonshine.cuba.inf.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * Carrier（承运商表）
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_carrier")
public class CarrierdMZ extends Model<CarrierdMZ> {

    private static final long serialVersionUID = 1L;
    /**
     * Customer code
              承运商码
     */
    @TableId
    private String code;
    /**
     * carrier primary key
             承运商主键
     */
    @TableField(exist = false)
    private String id;
    /**
     * carrier name
              承运商名称
     */
    private String name;
    /**
     * creator
             创建者
     */
    @TableField("create_by")
    private String createBy;
    /**
     * Create time
             创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * updater
             更新者
     */
    @TableField("update_by")
    private String updateBy;
    /**
     * Update time
             更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * Remarks information
             备注信息
     */
    private String remarks;
    /**
     * full name 全称
     */
    @TableField("full_name")
    private String fullName;
    /**
     * enable 是否可用
     */
    private String enable;
    @TableField("lsms_update")
    private Integer lsmsUpdate;
    
    /**
     * Data input datetime 数据接口发送时间
     */
    @TableField("data_input_datetime")
    private Date dataInputDatetime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    @Override
    protected Serializable pkVal() {
        return this.code;
    }
    
    public Integer getLsmsUpdate() {
		return lsmsUpdate;
	}

	public void setLsmsUpdate(Integer lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
    public String toString() {
        return "Carrier{" +
        ", id=" + id +
        ", name=" + name +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", fullName=" + fullName +
        ", enable=" + enable +
        "}";
    }
}
